package xyz.zhouxf.rpc.registry;

import java.net.InetAddress;
import java.net.InetSocketAddress;

/**
 * @author zhouxf
 * @date 2022/8/21
 */
public interface ServiceRegistry {
    /**
     * 服务注册接口
     * @param serviceName
     * @param inetSocketAddress
     */
    void register(String serviceName, InetSocketAddress inetSocketAddress);

}
